package com.dao;

import java.sql.SQLException;
import java.util.List;

import com.vo.MajorPlan;

public interface MajorPlanDAO {
public boolean save(MajorPlan majorplan) throws SQLException;
	
	public int delete(int id) throws SQLException;
	
	public int update(MajorPlan majorplan) throws SQLException;
	
	public MajorPlan findById(int id) throws SQLException;
	
	public List<MajorPlan> find() throws SQLException;
	
//	public boolean find(String username, String password) throws SQLException;
}
